package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckGroupItem;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CheckGroupItemDao {

    /**
     * 检查组删除(根据中间表删除id)
     * @param id
     */
    void deleteByCheckgroupId(Integer id);


    //检查组 用项组表格查询 id
    List<CheckGroupItem> getByCheckgroupId(Integer id);


    void insert(CheckGroupItem checkGroupItem);
}